<script setup lang='ts'>
import { ref, reactive } from 'vue'
class Nodes {
  constructor(data: any) {
    this.data = data
    this.next = null
  }
}
let node1 = new Nodes(1)
console.log(node1);
let node2 = new Nodes(2)
console.log(node2);
node1.next=node2
let node3 = new Nodes(3)
console.log(node3);



</script>

<template>
  <div>111</div>
</template>

<style lang='scss' scoped></style>